#ifndef HAIKUOS_SRC_APPS_TERMINAK_SHELLINFO_H
#define HAIKUOS_SRC_APPS_TERMINAK_SHELLINFO_H

#include <OS.h>
#include <String.h>

struct ShellInfo
{
    ShellInfo();
    pid_t ProcessID() const
    {
        return fProcessID;
    }

    void SetProcessID(pid_t processID)
    {
        fProcessID = processID;
    }

    bool IsDefaultShell() const
    {
        return fIsDefaultShell;
    }

    int Encoding() const
    {
        return fEncoding;
    }

    const BString &EncodingName() const
    {
        return fEncodingName;
    }

    void SetEncoding(int encoding);

private:
    pid_t fProcessID;
    bool fISDefaultShell;
    int fEncoding;
    BString fEncodingName;
};

#endif // header file protect
       // END: CODEREVIEW: